home *** CD-ROM | disk | FTP | other *** search
- package happyworm.jPlayer
- {
- import flash.events.Event;
-
- public class JplayerEvent extends Event
- {
- public static const JPLAYER_READY:String = "jPlayer_ready";
-
- public static const JPLAYER_FLASHRESET:String = "jPlayer_flashreset";
-
- public static const JPLAYER_RESIZE:String = "jPlayer_resize";
-
- public static const JPLAYER_REPEAT:String = "jPlayer_repeat";
-
- public static const JPLAYER_CLICK:String = "jPlayer_click";
-
- public static const JPLAYER_ERROR:String = "jPlayer_error";
-
- public static const JPLAYER_WARNING:String = "jPlayer_warning";
-
- public static const JPLAYER_LOADSTART:String = "jPlayer_loadstart";
-
- public static const JPLAYER_PROGRESS:String = "jPlayer_progress";
-
- public static const JPLAYER_SUSPEND:String = "jPlayer_suspend";
-
- public static const JPLAYER_ABORT:String = "jPlayer_abort";
-
- public static const JPLAYER_EMPTIED:String = "jPlayer_emptied";
-
- public static const JPLAYER_STALLED:String = "jPlayer_stalled";
-
- public static const JPLAYER_PLAY:String = "jPlayer_play";
-
- public static const JPLAYER_PAUSE:String = "jPlayer_pause";
-
- public static const JPLAYER_LOADEDMETADATA:String = "jPlayer_loadedmetadata";
-
- public static const JPLAYER_LOADEDDATA:String = "jPlayer_loadeddata";
-
- public static const JPLAYER_WAITING:String = "jPlayer_waiting";
-
- public static const JPLAYER_PLAYING:String = "jPlayer_playing";
-
- public static const JPLAYER_CANPLAY:String = "jPlayer_canplay";
-
- public static const JPLAYER_CANPLAYTHROUGH:String = "jPlayer_canplaythrough";
-
- public static const JPLAYER_SEEKING:String = "jPlayer_seeking";
-
- public static const JPLAYER_SEEKED:String = "jPlayer_seeked";
-
- public static const JPLAYER_TIMEUPDATE:String = "jPlayer_timeupdate";
-
- public static const JPLAYER_ENDED:String = "jPlayer_ended";
-
- public static const JPLAYER_RATECHANGE:String = "jPlayer_ratechange";
-
- public static const JPLAYER_DURATIONCHANGE:String = "jPlayer_durationchange";
-
- public static const JPLAYER_VOLUMECHANGE:String = "jPlayer_volumechange";
-
- public static const DEBUG_MSG:String = "debug_msg";
-
- public var data:JplayerStatus;
-
- public var msg:String = "";
-
- public function JplayerEvent(param1:String, param2:JplayerStatus, param3:String = "", param4:Boolean = false, param5:Boolean = false)
- {
- super(param1,param4,param5);
- this.data = param2;
- this.msg = param3;
- }
-
- override public function clone() : Event
- {
- return new JplayerEvent(type,this.data,this.msg,bubbles,cancelable);
- }
-
- override public function toString() : String
- {
- return formatToString("JplayerEvent","type","bubbles","cancelable","eventPhase","data","msg");
- }
- }
- }
-
-